package com.link.base.ext.agreement.controller;


import com.link.base.ext.agreement.model.ExtAgreements;
import com.link.base.ext.agreement.service.ExtAgreementsService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
@RequestMapping("/ext/extAgreements")
public class ExtAgreementsController extends BasicController<ExtAgreements> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private ExtAgreementsService extAgreementsService;

    @Override
    public BasicService<ExtAgreements> getBasicService() throws Exception {
        return extAgreementsService;
    }
}
